package cn.com.yusys.yusp.admin.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(fallback = PropProviderServiceHystrix.class, name = "${service.feignclient.name.yusp-app-common:yusp-app-common}", path = "/api/common/provider")
public interface PropProviderService {

	@RequestMapping(value = "/pathRestore", method = RequestMethod.GET)
	public String pathRestore(@RequestParam("path") String path);

	@GetMapping("/getPropValueByPropName")
	public String getPropValueByPropName(@RequestParam("propName") String propName);
}